package org.dromara.common.websocket.domain;

import lombok.Data;
import org.dromara.common.websocket.enums.MessageType;

import java.io.Serial;
import java.io.Serializable;

@Data
public class BoardWebSocketMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private String boardId;
    private String boardIp;
    private String message;
    private MessageType messageType;

    @Override
    public String toString() {
        return "BoardWebSocketMessage{" +
                "boardId='" + boardId + '\'' +
                ", boardIp='" + boardIp + '\'' +
                ", message='" + message + '\'' +
                ", messageType=" + messageType +
                '}';
    }
}
